import http from './request'
const apiList = {
	// 登录信息
	login: (data) => {
		return http.request({

			url: 'wxlogin',
			method: 'POST',
			data
		})
	},
	// 获取医院列表
	getRegister: () => {
		return http.request({
			url: 'WxGetRegister',
			method: 'POST',

		})
	},
	// 根据选择的医院id拿到医院的名字
	WxGetHospitlName: (data) => {
		return http.request({
			url: 'WxGetHospitlName',
			method: 'POST',
			data

		})
	},

	getadministrative: (data) => {
		return http.request({
			url: 'WxGetadministrative',
			method: 'POST',
			data

		})
	},

	getDoctor: (data) => {
		return http.request({
			url: 'WxGetDocator',
			method: 'POST',
			data

		})
	},
	getjiuzhenren: () => {
		return http.request({
			url: 'Wxgetjiuzhenren',
			method: 'POST',


		})
	},
	getiddoctor: (data) => {
		return http.request({
			url: 'Wxgetiddoctor',
			method: 'POST',
			data

		})
	},
	getjiuzhenren: (data) => {
		return http.request({
			url: 'Wxgetjiuzhenren',
			method: 'POST',
			data
		})
	},
	getDoctorTime: (data) => {
		return http.request({
			url: 'WxgetDoctorTime',
			method: 'POST',
			data
		})
	},
	addguahao: (data) => {
		return http.request({
			url: 'addguahao',
			method: 'POST',
			data
		})
	},
	
	deleteguahao: (data) => {
		return http.request({
			url: 'deleteguahao',
			method: 'POST',
			data
		})
	},
	
	addjiuzhenren: (data) => {
		return http.request({
			url: 'addjiuzhenren',
			method: 'POST',
			data
		})
	},
	
	getjiuzhenrenx: (data) => {
		return http.request({
			url: 'getjiuzhenrenx',
			method: 'POST',
			data
		})
	},
	
	updateren: (data) => {
		return http.request({
			url: 'updateren',
			method: 'POST',
			data
		})
	},
	getguahaojilu:(data)=>{
		return http.request({
			url: 'getguahaojilu',
			method: 'POST',
			data
		})
	},
	getjili:(data)=>{
		return http.request({
			url: 'getjili',
			method: 'POST',
			data
		})
	},
	
	deleteguahao2: (data) => {
		return http.request({
			url: 'deleteguahao2',
			method: 'POST',
			data
		})
	},
}

export default apiList
